﻿using HCQ2_Model.SelectModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.Student
{
    /// <summary>
    /// 学生信息获取
    /// </summary>
    public class StudentFindData
    {
        /// <summary>
        /// ID，为空表示新增
        /// </summary>
        public Nullable<int> id { get; set; }
        /// <summary>
        /// 学校名称
        /// </summary>
        public string schoolName { get; set; }
        /// <summary>
        /// 班级所属ID
        /// </summary>
        public int classId { get; set; }
        /// <summary>
        /// 学生姓名
        /// </summary>
        public string studentName { get; set; }
        /// <summary>
        /// 学号
        /// </summary>
        public string studentId { get; set; }
        /// <summary>
        /// 专业
        /// </summary>
        public string major { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public Nullable<bool> sex { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string tel { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string email { get; set; }
        /// <summary>
        /// 身份证
        /// </summary>
        public string idCode { get; set; }
        /// <summary>
        /// 照片地址
        /// </summary>
        public string photo { get; set; }
        /// <summary>
        /// 状态：0停用、1启用
        /// </summary>
        public Nullable<int> state { get; set; }

        /// <summary>
        /// 所属学校的所有班级列表
        /// </summary>
        public List<ListBoxModel> classList { get; set; }
    }
}
